<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".FoodActivity"
    android:background="@drawable/gradient_food_1"
    android:id="@+id/mainFood">

    <LinearLayout
        android:id="@+id/linearLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:padding="4dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ImageButton
            android:id="@+id/food_back"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:scaleType="centerCrop"
            android:background="#00000000"
            android:src="@drawable/food_back"
            android:layout_margin="8dp"/>

        <TextView
            android:id="@+id/textView2"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_margin="15dp"
            android:layout_weight="1"
            android:fontFamily="@font/tt_ravels_extra_bold_italic"
            android:gravity="center"
            android:letterSpacing="0.1"
            android:text="питание"
            android:textAllCaps="true"
            android:textColor="#FFFFFF"
            android:textSize="26sp" />

        <Space
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:background="#00000000"
            android:scaleType="centerCrop"
            android:layout_margin="8dp"/>

    </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout3"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        android:gravity="center"
        android:orientation="horizontal"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/linearLayout">

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d1Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView1"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d2Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView2"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d3Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView3"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d4Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView4"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d5Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView5"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d6Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

        <eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView6"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_margin="2dp"
            android:background="@drawable/rounded_rectangle_02">

            <TextView
                android:id="@+id/food_d7Btn"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:fontFamily="@font/tt_travels_extra_bold"
                android:letterSpacing="0.1"
                android:text="Пн"
                android:textSize="20sp"/>
        </eightbitlab.com.blurview.BlurView>

    </LinearLayout>

    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/food_addBtn"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="#00FFFFFF"
        android:scaleX="1.3"
        android:scaleY="1.3"
        app:backgroundTint="#00FFFFFF"
        app:circularflow_defaultRadius="100dp"
        app:circularflow_radiusInDP="100"
        app:fabCustomSize="0dp"
        app:fabSize="mini"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@id/cv"
        app:maxImageSize="50dp"
        app:srcCompat="@drawable/food_add" />

    <eightbitlab.com.blurview.BlurView
        android:id="@+id/cv"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_marginHorizontal="8dp"
        android:layout_marginTop="64dp"
        android:layout_marginBottom="16dp"
        app:cardBackgroundColor="#00E6E6E6"
        app:cardCornerRadius="25dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/linearLayout3"
        android:background="@drawable/rounded_rectangle_01">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

            <TableLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="#0F000000"
                android:paddingTop="50dp"
                android:paddingBottom="4dp">

                <TableRow
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <TextView
                        android:id="@+id/textView3"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:fontFamily="@font/tt_travels_bold"
                        android:letterSpacing="0.1"
                        android:text="Белки"
                        android:textSize="15sp" />

                    <TextView
                        android:id="@+id/textView5"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:fontFamily="@font/tt_travels_bold"
                        android:letterSpacing="0.1"
                        android:text="Жиры"
                        android:textSize="15sp" />

                    <TextView
                        android:id="@+id/textView7"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:fontFamily="@font/tt_travels_bold"
                        android:letterSpacing="0.1"
                        android:text="Углеводы"
                        android:textSize="15sp" />

                    <TextView
                        android:id="@+id/textView8"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:fontFamily="@font/tt_travels_bold"
                        android:letterSpacing="0.1"
                        android:text="Калории"
                        android:textSize="15sp" />
                </TableRow>

                <TableRow
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                    <TextView
                        android:id="@+id/food_proteins"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:fontFamily="@font/tt_travels_medium"
                        android:letterSpacing="0.1"
                        android:text="0"
                        android:background="#00FFFFFF"
                        android:textSize="14sp"
                        android:textStyle="bold" />

                    <TextView
                        android:id="@+id/food_fats"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="0"
                        android:fontFamily="@font/tt_travels_medium"
                        android:letterSpacing="0.1"
                        android:background="#00FFFFFF"
                        android:textSize="14sp"/>

                    <TextView
                        android:id="@+id/food_carbs"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="0"
                        android:fontFamily="@font/tt_travels_medium"
                        android:letterSpacing="0.1"
                        android:background="#00FFFFFF"
                        android:textSize="14sp"/>

                    <TextView
                        android:id="@+id/food_ccal"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="0"
                        android:fontFamily="@font/tt_travels_medium"
                        android:letterSpacing="0.1"
                        android:background="#00FFFFFF"
                        android:textSize="14sp"/>
                </TableRow>
            </TableLayout>

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/rv"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="1"
                android:layout_margin="8dp"
                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />


        </LinearLayout>
    </eightbitlab.com.blurview.BlurView>


</androidx.constraintlayout.widget.ConstraintLayout>